package model.game.skills;

import java.io.Serializable;
import model.game.Skill;

public class Fireball implements Serializable, Skill, Damageable{   
    private String name;
    private int precisao;
    private int damage;
    public Fireball(){
        this.name = "Fireball";
        this.precisao = 60;
        this.damage = 6;
    }

    @Override
    public String getName() {
        return name;
    }

    @Override
    public void setName(String name) {
        this.name = name;
    }

    @Override
    public int getDamage() {
        return damage;
    }

    @Override
    public void setDamage(int damage) {
        this.damage = damage;
    }

    @Override
    public void use() {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public int getPrecision() {
        return precisao;
    }

    @Override
    public void setPrecision(int precision) {
        this.precisao = precision;
    }
}
